import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { Student } from "./student.entity";
import { StudentsController } from "./students.controller";
import { StudentsService } from "./students.service";


@Module({
    imports:[TypeOrmModule.forFeature([Student])],//注册当前模块使用的实体类
    controllers:[StudentsController],
    providers:[StudentsService]
})
export class StudentsModule{
    
}